﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for BasePage
/// </summary>
public class BasePage : System.Web.UI.Page
{
    public BasePage()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    protected void CheckLogin()
    {
        if (Common.ReadCookie("user").Length == 0)
        {
            Response.Redirect("default.aspx");
        }
    }
}